package com.xing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xing.DTO.ArticleDTO;
import com.xing.entity.ArticleEntity;
import com.xing.utils.Result;

import java.util.Map;

/**
 * @version 1.0
 * @Author Xing
 * @Date 2024/7/16 19:27
 */
public interface ArticleService extends IService<ArticleEntity> {
    Result Save(ArticleDTO dto);

    Result Page(Map<String, Object> params);

    Result GetArticleById(Long id);

    Result PutArticleById(Long id, ArticleDTO dto);

    Result DeleteArticleById(Long id);
}
